﻿@model IEnumerable<HRWEB.TDegree>
@using HRWEB.HtmlHelpers
<script type="text/javascript">
    $(document).ready(function () { $("[name='degreefile']").fileupload({ dataType: 'jason' }); });
</script>
<table class="detail-table">
<thead>
<tr><th colspan="7">学位信息</th></tr></thead>
<tr><td>毕业时间</td><td>取得学位</td><td>毕业学校</td><td>专业</td><td>下载</td><td>上传</td></tr>
@foreach (var de in Model)
{
    <tr><td>@Html.FormatDateShort(de.FValidDate)</td><td>@Html.FormatTDict(de.TDictDegree)</td><td>@de.FUniversity</td><td>@de.FSpecialty</td><td>@if (de.Filename != null)
                                                                                                                                                                                                                                                                     {<a href="@Url.Content("~/CertFiles/Degree/"+@de.Filename)">下载</a>}
                                                                                                                                                                                                                                                                     else {<font>无</font>}</td><td><input type="file" name="degreefile" id="file @de.FSerialNo" style="width:70px" data-url="@Url.Action("UploadDegree", new { serial = @de.FSerialNo })" /></td></tr>
}
</table>